package com.payment.system.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.payment.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.payment.common.base.BaseEntity;

/**
 * 新计划详情表 sys_plan_item_new
 * 
 * @author payment
 * @date 2019-07-02
 */
public class PlanItemNew extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String id;
	/** 大计划id */
	@Excel(name = "大计划id")
	private String planId;
	/**用户姓名*/
	@Excel(name = "用户姓名")
	private String merchantName;
	/**用户手机号*/
	@Excel(name = "用户手机号")
	private String merchantPhone;
	/** 卡id */
	private String cardId;
	/** 银行名称 */
	@Excel(name = "银行名称")
	private String cardName;
	/** 信用卡号 */
	@Excel(name = "信用卡号")
	private String cardNumber;
	/** 金额 */
	@Excel(name = "付款金额")
	private BigDecimal money;
	/** 状态(0待执行1执行中2失败3成功) */
	@Excel(name = "计划类型",readConverterExp="0=待执行,1=执行中,2=失败,3=成功")
	private Integer status;
	/** 订单id */
	private String orderId;
	/** 金额类型（sale消费  payment 还款） */
	@Excel(name = "计划类型",readConverterExp="sale=消费,payment=还款")
	private String moneyType;
	/** 组数 */
	@Excel(name = "组数")
	private Integer groupNumber;
	/** 落地城市名称 */
	private String region;
	/** 消费端ip */
	private String ip;
	/** 设备id */
	private String deviceCode;
	/** 通道id*/
	private String acqId;
	/** 通道code*/
	private String acqCode;
	/** 通道Name*/
	@Excel(name = "通道名称")
	private String acqName;
	/** 执行时间 */
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
	private Date planTime;

	public String getAcqName() {
		return acqName;
	}

	public void setAcqName(String acqName) {
		this.acqName = acqName;
	}

	public String getMerchantPhone() {
		return merchantPhone;
	}

	public void setMerchantPhone(String merchantPhone) {
		this.merchantPhone = merchantPhone;
	}

	public String getMerchantName() {
		return merchantName;
	}

	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}

	public void setId(String id)
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setPlanId(String planId) 
	{
		this.planId = planId;
	}

	public String getPlanId() 
	{
		return planId;
	}
	
	public void setCardId(String cardId) 
	{
		this.cardId = cardId;
	}

	public String getCardId() 
	{
		return cardId;
	}
	public void setCardNumber(String cardNumber) 
	{
		this.cardNumber = cardNumber;
	}

	public String getCardNumber() 
	{
		return cardNumber;
	}
	public void setCardName(String cardName) 
	{
		this.cardName = cardName;
	}

	public String getCardName() 
	{
		return cardName;
	}
	public void setMoney(BigDecimal money) 
	{
		this.money = money;
	}

	public BigDecimal getMoney() 
	{
		return money;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}
	public void setPlanTime(Date planTime) 
	{
		this.planTime = planTime;
	}

	public Date getPlanTime() 
	{
		return planTime;
	}
	public void setOrderId(String orderId) 
	{
		this.orderId = orderId;
	}

	public String getOrderId() 
	{
		return orderId;
	}
	public void setMoneyType(String moneyType) 
	{
		this.moneyType = moneyType;
	}

	public String getMoneyType() 
	{
		return moneyType;
	}
	public void setGroupNumber(Integer groupNumber) 
	{
		this.groupNumber = groupNumber;
	}

	public Integer getGroupNumber() 
	{
		return groupNumber;
	}
	public void setRegion(String region) 
	{
		this.region = region;
	}

	public String getRegion() 
	{
		return region;
	}
	public void setIp(String ip) 
	{
		this.ip = ip;
	}

	public String getIp() 
	{
		return ip;
	}
	public void setDeviceCode(String deviceCode) 
	{
		this.deviceCode = deviceCode;
	}

	public String getDeviceCode() 
	{
		return deviceCode;
	}
	
	
    public String getAcqId() {
		return acqId;
	}

	public void setAcqId(String acqId) {
		this.acqId = acqId;
	}

	

	public String getAcqCode() {
		return acqCode;
	}

	public void setAcqCode(String acqCode) {
		this.acqCode = acqCode;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("planId", getPlanId())
            .append("cardId", getCardId())
            .append("cardNumber", getCardNumber())
            .append("cardName", getCardName())
            .append("money", getMoney())
            .append("status", getStatus())
            .append("planTime", getPlanTime())
            .append("orderId", getOrderId())
            .append("moneyType", getMoneyType())
            .append("groupNumber", getGroupNumber())
            .append("region", getRegion())
            .append("ip", getIp())
            .append("deviceCode", getDeviceCode())
            .append("acqId", getAcqId())
            .append("acqCode", getAcqCode())
            .toString();
    }
}
